package com.jmb.api.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName mock_sever
 */
@TableName(value ="mock_sever")
@Data
public class MockSever extends BaseEntity {
    /**
     * 
     */
    @TableId(value = "server_id", type = IdType.AUTO)
    private Integer serverId;

    /**
     * 端口号
     */
    @TableField(value = "port")
    private Integer port;

    /**
     * 当没有命中时转发的主机地址
     */
    @TableField(value = "remote_host")
    private String remoteHost;

    /**
     * 当没有命中时转发的端口
     */
    @TableField(value = "remote_port")
    private Integer remotePort;

    /**
     * 描述
     */
    @TableField(value = "desc")
    private String desc;

    /**
     * 创建人user_id
     */
    @TableField(value = "creator_id")
    private Integer creatorId;

    /**
     * 创建人realname
     */
    @TableField(value = "creator_name")
    private String creatorName;

    /**
     * update_time
     */
    @TableField(value = "created_time")
    private Date createdTime;
}